package org.openzip.openzip.archiving.logic;

import java.io.File;
import java.util.ArrayList;
import java.util.Collection;

import org.openzip.openzip.archiving.gui.ArchiverGUI;

public class ArchiverController
{
	public static void main(String[] args){
		
		/*File f1 = new File("C:\\openzip\\pokus1.txt");
		File f2 = new File("C:\\openzip\\pokus2.txt");
		Collection<File> files = new ArrayList<File>();
		files.add(f1);
		files.add(f2);
		
		File out = new File("C:\\openzip\\out.jar");
		
		IOpenZipArchiver archiver = new OpenZipArchiver();
		archiver.makeArchive(out, files);*/
		
		IOpenZipArchiver arch = new OpenZipArchiver();
		ArchiverGUI gui = new ArchiverGUI();
		gui.useUI(arch);

	}
}